package api

import (
	"github.com/gogf/gf/v2/frame/g"
	"lot_admin_api/internal/model"
)

// AddNoticeReq 新增通知
type AddNoticeReq struct {
	g.Meta `path:"/notice/add" tags:"通知模块" method:"post" summary:"新增通知"`
	*model.NoticeInfoRes
	*model.NoticeIdRes
}

// UpdateNoticeReq 更新通知
type UpdateNoticeReq struct {
	g.Meta `path:"/notice/update" tags:"通知模块" method:"post" summary:"更新通知"`
	*model.NoticeInfoRes
	*model.NoticeIdReq
}

// DeleteNoticeReq 删除通知
type DeleteNoticeReq struct {
	g.Meta `path:"/notice/delete" tags:"通知模块" method:"delete" summary:"删除通知"`
	*model.NoticeIdReq
}

// NoticeInfoReq 通过通知id获取详情
type NoticeInfoReq struct {
	g.Meta `path:"/notice/info" tags:"通知模块" method:"get" summary:"通过id获取通知详情"`
	*model.NoticeIdReq
}

// NoticeListReq 获取通知列表
type NoticeListReq struct {
	g.Meta `path:"/notice/list" tags:"通知模块" method:"get" summary:"获取通知列表"`
	*model.NoticeListReq
}
